package priv.work2;


public class Driver {
	private String name;
	private Integer age;
	private Character sex;
	private Secretary furen;
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public Integer getAge() {
		return age;
	}
	public void setAge(Integer age) {
		this.age = age;
	}
	public Character getSex() {
		return sex;
	}
	public void setSex(Character sex) {
		this.sex = sex;
	}

	
	public Secretary getFuren() {
		return furen;
	}
	public void setFuren(Secretary furen) {
		this.furen = furen;
	}
	@Override
	public String toString() {
		return "Driver [name=" + name + ", age=" + age + ", sex=" + sex + ", furen=" + furen.getName() + "]";
	}
	public Driver() {
		
	}
	
}
